package request

type User struct {
	Name     string `form:"name" binding:"required"`
	Phone    string `form:"phone" binding:"required"`
	Password string `form:"password" binding:"required"`
}

type Scenic struct {
	Name string `form:"name" biding:"required"`
}

type GoodsCreate struct {
	Name  string `form:"name" binding:"required"`
	Num   int64  `form:"num" binding:"required"`
	Dates string `form:"dates" binding:"required"`
}

type RealName struct {
	UserId  int64  `form:"userId" binding:"required"`
	ReaInes string `form:"reaInes" binding:"required"`
	IdCard  string `form:"idCard" binding:"required"`
}

type OrderSn struct {
	UserId  int64 `form:"userId" binding:"required"`
	GoodsId int64 `form:"goodsId" binding:"required"`
}

type OrderUser struct {
	UserId int64   `form:"userId" binding:"required"`
	Name   string  `form:"name" binding:"required"`
	Price  float64 `form:"price" binding:"required"`
}

type CallBack struct {
	Status int `form:"status" binding:"required"`
}

type ScenicSo struct {
	Name string `form:"name" binding:"required"`
}

type OrderFind struct {
	OrderId int `form:"orderId" binding:"required"`
}

type Refund struct {
	GoodsId int64 `form:"goodsId" binding:"required"`
	Status  int   `form:"status" binding:"required"`
}
